<% content_for :top_menu do %>
  <%= link_to "Добавить", new_admin_category_path %>
  <%= link_to "Назад", admin_categories_path %>
<% end %>

<table>
  <tbody>
    <tr>
      <td><%=h @category.title %></td>
      <td><%=h @category.name %></td>
      <td><%= link_to 'Редактировать', edit_admin_category_path(@category) %></td>
      <td><%= link_to 'Назад', admin_categories_path %></td>
    </tr>
  </tbody>
</table>
